package com.example.mapper;

import com.example.model.MessageEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MessageMapper {
    List<MessageEntity> getAllMessage();

    int insertMessage(MessageEntity msg);

    int deleteMessageById(int id);
}
